<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>我的订单</title>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:include page="../city/addCity.jsp"></jsp:include>
<script src="<%=request.getContextPath() %>/manage/js/jquery-1.9.1.js"></script>
<script src="<%=request.getContextPath() %>/manage/js/bootstrap.min.js"></script>
<script src="<%=request.getContextPath() %>/manage/js/jqPaginator.js"></script>
<script src="<%=request.getContextPath() %>/manage/province/city/city.js"></script>

<!-- Bootstrap -->

<link href="<%=request.getContextPath() %>/manage/css/bootstrap.min.css" rel="stylesheet" />
<link href="<%=request.getContextPath() %>/manage/province/city/city.css" rel="stylesheet" />


<style>
.alllists {
	width: 100%;
}

.buttonSt {
	text-align: right;
}
#trTh th {
		text-align: center;
	}
#trTh td {
		text-align: center;
	}
	
#trTd td {
		text-align: center;
	}
	/* 提示div的样式 */
      #selectItem{
        width:100px; border:1px solid black; font-size:14px;
      }
      
      /* 提示信息鼠标覆盖是信息 */
      div.over{
        border:1px solid #999; background:#ffffcc; cursor:hand;
      }
      
      /* 提示信息鼠标移出是信息 */
      div.out{
        border:1px solid #ffffff; background:#ffffff; 
      }    	
</style>
</head>
<body>
	<div class="container-fluid alllists">
		<div class="row-fluid">
			<div class="span12">
			<button class="btn btn-primary btn-large" type="button"
						data-toggle="modal" onclick="history.go(-1);">返回上一级</button>
				<div id="tools" class="buttonSt">
					<button id="addCity" class="btn btn-primary btn-large"
						type="button" data-toggle="modal">添加</button>
					<button id="deleteBtn" class="btn btn-large btn-danger"
						type="button">删除</button>
				</div>
				<div>
				<br />
					<table id="cityList" class="table table-bordered table-hover">
						<thead>
							<tr id="trTh">
								<td ><input id="selectAll" class="checkbox" type="checkbox" /></td>
								<th>市编号</th>
								<th>名字</th>
								<th>省编号</th>
								<th colspan="3">操作</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach var="city" items="${pageResult.resultList}">
								<tr id="trTd">
									<td><input name="id" id="cityId" class="checkbox"
										type="checkbox" value="${city.id}" />
										</td>
									<td>${city.code}</td>
									<td>${city.name}</td>
									<td>${city.provincecode}</td>
									<td><button name="editBtn" objId="${city.id}"
											class="btn btn-sm-block btn-sm-info" type="button">修改</button></td>
									<td><button name="lookBtn" id="editBtn" objId="${city.id}" class="btn btn-sm-block btn-sm-info">查看</button></td>
									<td><button name="watchAreaBtn" id="watchAreaBtn" objId="${city.code}" class="btn btn-sm-block btn-sm-info">查看区</button></td>
								</tr>
							</c:forEach>
						<tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
	<div style="text-align: center;">
		<ul class="pagination" id="pagination4"></ul>
	</div>
	<div style="text-align: center;">
		<div id="pageResult">
			<input id="pageCount" type="hidden" value="${pageResult.pageCount}" />
			<input id="totalCount" type="hidden" value="${pageResult.totalCount}" />
			<input id="pageIndex" type="hidden" value="${pageResult.pageIndex}" />
			<input id="pageSize" type="hidden" value="${pageResult.pageSize}" />
			<input id="provinceCode" type="hidden" value="${provinceCode}" />
		</div>
		<!-- footer -->

		<p>vinace-Demo by 御风林海</p>

	</div>




</body>
</html>